package net.stogi.unicore.beyond.api.model;

public class PropertyValue extends Entity {

	private static final long serialVersionUID = 3920171982188261465L;

	private PropertyType propertyType;

	private String value;

	public PropertyValue() {}

	public PropertyValue(PropertyType propertyType) {
		this.propertyType = propertyType;
		value = propertyType.getDefaultValue();
	}

	public PropertyType getPropertyType() {
		return propertyType;
	}

	public String getValue() {
		return value;
	}

	public void setPropertyType(PropertyType propertyType) {
		this.propertyType = propertyType;
	}

	public void setValue(String value) {
		this.value = value;
	}
}
